package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("role")
public class Role {
    @TableId(value = "role_id",type = IdType.AUTO)
    @ApiModelProperty(value = "角色ID",required = false)
    private Integer roleId;
    @ApiModelProperty(value = "角色名称",required = true)
    private String roleLabel;
    @ApiModelProperty(value = "角色名称",required = false)
    private Boolean status;
}
